* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: aliceblue;
  margin: 0;
}

/* -----------------Header + nav--------------- */

.header {
  margin-top: 0;
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(https://i.ibb.co/gShTNfS/header.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.sub-header {
  align-items: center; /* Vertically aligns child elements */
  justify-content: center;
  height: 50vh;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(https://i.ibb.co/JsJFFpp/serena-repice-lentini-TVOAbb-LL050-unsplash-sub.jpg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  margin-bottom: 30px;
}

.sub-header h1 {
  margin-top: 0px;
  padding-top: 0px;
  text-align: center;
}

.navMenu {
  overflow: hidden;
  background-color: #ffffff00;
}

.navMenu a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navMenu .icon {
  display: none;
}

.navMenu .dropdown {
  font-size: 16px;
  border: none;
  outline: none;
  color: #000000;
  padding: 14px 16px;
  background-color: #ffffff00;
  font-family: inherit;
  margin: 0;
  width: 100%;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .navMenu {
    position: fixed; /* Fix the navMenu to the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Make sure it's above other elements */
  }
  .footer {
    position: fixed; /* Fix the footer to the bottom */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure it stays above other elements */
  }
  body {
    padding-top: 0; /* Adjust this value based on the actual height of your navMenu */
    padding-bottom: 500px; /* Adjust this value based on the actual height of your footer */
  }

  .sub-header h1 {
    display: flex;
    align-items: center; /* Vertically aligns child elements */
    justify-content: center; /* Horizontally aligns child elements */
    height: 50vh;
  }
}

.main_links {
  background-color: #ffffff00;
  color: #000000;
  line-height: 1;
}

.main_links:hover {
  background-color: #0a172f;
  color: #ffffff;
}

.navMenu .navbar a:hover,
.navMenu .dropdown:hover {
  background-color: #c7daff00;
  color: #000000;
}

.navMenu .dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.navMenu .dropdown-content a {
  float: none;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  color: #000000;
}

.navMenu .dropdown-content a:hover {
  background-color: #333;
  color: #ffffff;
}

.navMenu .dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 768px) {
  .navMenu a:not(:first-child) {
    display: none;
  }

  .navMenu .dropdown {
    display: none;
  }

  .navMenu a.icon {
    float: right;
    display: block;
    color: #aebaff;
  }

  .navMenu.mobileView {
    position: re;
    background-color: #000;
  }

  .navMenu.mobileView .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .navMenu.mobileView a {
    float: none;
    display: block;
    text-align: left;
  }

  .navMenu.mobileView .dropdown {
    float: none;
    display: block;
    text-align: left;
  }

  .navMenu .dropdown-content {
    position: relative;
  }
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
  /* border: 3px solid yellow; */
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.hero-btn:hover {
  border: 1px solid #2d5bfd;
  background: #2d5bfd;
  transition: 1s;
}

@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -200px;
    background: #2d5bfb;
    height: 100vh;
    width: 200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }
}

h1 {
  margin-top: 20px;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
}

h2 {
  text-align: center;
  margin: 20px;
}

p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  margin-left: 20%;
  margin-right: 20%;
  display: flex;
  justify-content: space-between;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* --------------------footer------------- */

.footer {
  background: #000;
  padding: 30px 0;
  font-family: "Play", sans-serif;
  text-align: center;
  margin-top: 30px;
}

.footer .rows {
  width: 100%;
  margin: 1% 0;
  padding: 0.6% 0;
  color: gray;
  font-size: 0.8em;
}

.footer .rows a {
  text-decoration: none;
  color: gray;
  transition: 0.5s;
}

.footer .rows a:hover {
  color: #fff;
}

.footer .rows ul {
  width: 100%;
}

.footer .rows ul li {
  display: inline-block;
  margin: 0 30px;
}

.footer .rows a i {
  font-size: 2em;
  margin: 0 1%;
}

@media (max-width: 720px) {
  .footer {
    text-align: left;
    padding: 5%;
  }

  .footer .rows ul li {
    display: block;
    margin: 10px 0;
    text-align: left;
  }

  .footer .rows a i {
    margin: 0 3%;
  }
}

/* -----------------Athlete Page--------------- */

.athlete {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.athlete img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(27, 16, 165, 0.39);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  /* border: 2px solid black; */
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/* -----------------Gallery Page--------------- */

.gallery {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 1px;
}

.gallery-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 0;
  text-align: left;
}

.gallery-col img {
  width: 100%;
  border-radius: 10px;
}

.gallery-col p {
  padding: 0;
}

.gallery-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}

/* --------------------About Page----------- */

.about-us {
  width: 100%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-col {
  flex-basis: 60%;
  padding: 30px 2px;
}

.about-col img {
  width: 100%;
  padding-top: 0px;
  padding-left: 20px;
}

.about-col h1 {
  padding-top: 0;
}

.about-col p {
  padding: 10px 0 20px;
}

.blue-btn {
  border: 1px solid #1e7dff;
  background: transparent;
  color: #1e7cfd;
}

.blue-btn:hover {
  color: #fff;
}

/* -----------------Blog Page--------------- */

.blog-content {
  margin: auto;
  padding: 60px 10;
}

.blog-left {
  flex-basis: 65%;
}

.blog-left img {
  width: 100%;
}

.blog-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.blog-left p {
  color: #999;
  padding: 0;
}

.blog-right {
  flex-basis: 32%;
}

.blog-right h3 {
  background: #000;
  color: #fff;
  padding: 5px 0;
  font-size: 16px;
  margin-bottom: 20px;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  padding: 8px;
  box-sizing: border-box;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: thin;
  outline: thin;
  background: ghostwhite;
}

.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/* -------------contact us page------------ */

.location {
  width: 60%;
  margin: auto;
  padding: 80px;
}

.location iframe {
  width: 100%;
}

.contact-us {
  width: 60%;
  margin: auto auto 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* -----------------Schedule Page--------------- */

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 0px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: scroll;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.3s ease;
}

.day:last-child {
  border-bottom: none;
}

.day:hover {
  background-color: #e6e6e6;
}

.day p {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.events {
  font-size: 0.8em;
  margin-top: 5px;
  color: #0008ff;
}

@media only screen and (max-width: 700px) {
  .calendar {
    grid-template-columns: repeat(7, 1fr);
  }

  .day {
    border-bottom: none;
  }
}
